<template>
    <div class="breadcrumb">
      <div class="box_name">
        {{userInfo.company_name}}
      </div>
      <div class="header_pic">
        <el-avatar icon="el-icon-user-solid"></el-avatar>
      </div>
    </div>
</template>

<script>
import { mapState } from 'vuex';
export default {
  data() {
    return {
      levelList: null
    }
  },
  computed: {
    ...mapState('user', ['userInfo'])
  },
  created() {
  },
  methods: {
   
  }
}
</script>

<style lang="scss" scoped>
.breadcrumb{
  line-height: 50px;
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: 10px;
  .box_name{
    height: 26px;
    line-height: 26px;
    background-color: #304156;
    color: #fff;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 12px;
    margin-right: 20px;
  }
  .header_pic{
    height: 100%;
    line-height: 50px;
    display: flex;
    align-items: center;
  }
}
</style>
